<?php
//рус

include_once (_CORE_PATH . "controller/controller_error_prototype.php");
class errors_admin_http_web extends controller_error_prototype_class
{
    public function NotLoggedPrAction ()
    {
        $this->_ctrls->users->loginPr();
    }
    public function NotLoggedScAction ()
    {
    }       
    public function NotAccessPrAction ()
    {
        $this->GetModule()->GetDecorator()->SetTemplate('login');
        $t = $this->GetTemplator();
        $this->Response()->SetBody($t->render('errors/_not_access.phtml'));
    }
    public function NotAccessScAction ()
    {
    }     
    public function NotFoundPrAction ()
    {
        $this->Response()->setHttpResponseCode (404);
        $this->GetModule()->GetDecorator()->SetTemplate('login');        
        $t = $this->GetTemplator();
        $this->Response()->SetBody($t->render('errors/_not_found.phtml'));        
    }    
}